*
{
margin:0;
padding:0;
}

@font-face
{
font-family: "komika";
src: url("sprites/komika.ttf");
}

@media (orientation: portrait)
{ /* tablet and smaller */
#overlay
	{
	position: absolute;
	z-index: 9999;
	width: 100%;
	height:100%;
	top: 0;
	bottom: 0;
	content: "";
	background: #212121 url(sprites/turndevice.png) 0 0 no-repeat;
	background-size: 100% auto;
	}
}

body
{
//width:1000px;
//height:600px;
cursor: url('sprites/cursor_open.cur'), auto !important;
color:#fff;
text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000;
-ms-filter: progid:DXImageTransform.Microsoft.DropShadow(OffX=1, OffY=1, Color=#000);
font-family:komika;
overflow:hidden;
}

#main_div
{
position:absolute;
width:1000px;
height:600px;
overflow:hidden;
transform-origin:0px 0px;
}

.test
{
cursor: url('sprites/cursor_open.cur'), auto !important;
}

#score_div
{
position:absolute;
top:4px;
left:850px;
font-size:28px;
}

#win_popup
{
position:absolute;
top:100px;
left:500px;
margin-left:-272px;
width:545px;
height:298px;
background-image:url(sprites/win_popup.png);
display:none;
}

#lose_popup
{
position:absolute;
top:100px;
left:500px;
margin-left:-272px;
width:541px;
height:298px;
background-image:url(sprites/lose_popup.png);
display:none;
}

.popup_inner
{
position:absolute;
top:27px;
left:10px;
width:520px;
height:200px;
text-align:center;
font-size:33px;
}

#level_select_div td
{
border:3px solid #fbbd3b;
border-radius:4px;
width:120px;
height:120px;
font-size:24px;
text-align:center;
}

#smoke_div
{
position:absolute;
width:32px;
height:32px;
background-image:url(sprites/smoke_big.png);
display:none;
}

#frontpage_div
{
position:absolute;z-index:2;width:1000px;height:600px;background-image:url(sprites/logo.jpg);background-size:100% 100%;
}

#play_button
{
position:absolute;top:440px;left:435px;width:168px;height:82px;font-size:37px;text-align:center;
}

#level_select_div
{
position:absolute;top:30px;left:30px;width:940px;height:520px;border:5px solid #fbbd3b;border-radius:16px;background:#62d4bb;font-size:30px;z-index:3;display:none;
}

#game_div
{
width:1000px;height:600px;background-image:url(sprites/bg.png);background-position:-111px 0px;
}

#viewport
{
margin-left:0px;
}

#button_level_select
{
position:absolute;top:206px;left:65px;width:100px;height:94px;
}

#button_game_init
{
position:absolute;top:206px;left:219px;width:100px;height:94px;
}

#button_level_up
{
position:absolute;top:206px;left:374px;width:100px;height:94px;
}

#button_level_select_2
{
position:absolute;top:206px;left:163px;width:100px;height:94px;
}

#button_game_init_2
{
position:absolute;top:206px;left:317px;width:100px;height:94px;
}

#moregames
{
position:absolute;top:0px;left:442px;background:#9f0;font-size:17px;border-radius:6px;border:2px solid #000;padding:0px 10px 0px 10px;cursor:pointer;color:#fff;z-index:5;
}